package model;

import java.util.LinkedList;
import java.util.List;

public class Player extends PublicPlayer{
	private String access_token;
	
	private List<PublicPlayer> friends;
	
	public Player(String id, String name) {
		super(id, name);
		friends = new LinkedList<PublicPlayer>();
	}
	
	public String getID() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	public void addFriend(String id, String name) {
		friends.add(new PublicPlayer(id, name));
	}
	
	public List<PublicPlayer> getAllFriends() {
		return friends;
	}
}
